package fr.umlv.m2.jee.spij.persistence.schedule;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.io.Serializable;

/**
 *
 */
@MappedSuperclass
public abstract class Equipment implements Serializable {

    /**
     *
     */
    @Column(name = "EQU_REFERENCE", nullable = false)
    private String reference;

    /**
     * @param reference the reference to set
     */
    public void setReference(String reference) {
        this.reference = reference;
    }

    /**
     * @return the reference of equipement
     */
    public String getReference() {
        return reference;
    }

}
